﻿/*
 * SVN-based CodeReview
 * Copyright (c) Karim Agha <karim.dev@gmail.com>.
 */

namespace Sentio.CodeReview.Foundation
{
    /// <summary>
    /// The status of a block comment.
    /// </summary>
    public enum BlockCommentStatus
    {
        /// <summary>
        /// When this value is set, it basically means that the reviewer has no issues
        /// with that perticular piece of code. Comments contaning this sort of status
        /// require no further fixes.
        /// </summary>
        Positive = 0,

        /// <summary>
        /// This value means that the reviewer thinks that there is an issue with some piece of code.
        /// When this value is set, the container target is signaled that this file has an issue that needs to be fixed.
        /// </summary>
        Negative = 1,

        /// <summary>
        /// This is the natural progression of the NeedsSomeWork value. After a file has been reviewd and given the
        /// status of NeedsSomeWork, the owner might fix that issue and assign it afterwards with this value to flag
        /// this file as fixed, but require the author of the previous comment to make sure that the fix is ok.
        /// </summary>
        Neutral = 2,

        /// <summary>
        /// A flag set by the owner of the file to signal that he does not agree with a comment, and that the original
        /// comment is no longer relevant.
        /// </summary>
        Abandoned = 3
    }
}
